#!/usr/bin/env bash
#########################################################################
# File Name   : run-backend.sh
# Author      : seadog
# mail        : seadog0514@163.com
# Version     : 0.1
# Created Time: Wed 2024-07-24 10:28:19(+0800)
#########################################################################

#
#
# Usage:

set -euo pipefail
# set -E
#     If set, any trap on ERR is inherited by shell functions, command
#     substitutions, and commands executed in a subshell environment.

export TZ="Asia/Shanghai"
APP_ROOT=$(dirname "$(readlink -fm "$0")")
cd "${APP_ROOT}"

exec &> >(tee -a "/tmp/fastapi-vue-front.log")

cd web

pnpm dev
